<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    function contains(arr,a){
        document.write(arr.includes(a))
    }
    contains(['杰克','肉丝','约翰'],'杰瑞')
</script>